From 0a241a33548bd3938132f49433e9c217dda32c4d Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 27 Feb 2025 17:32:53 +0800 Subject: [PATCH] gui/tray: Make bottom buttons in user status selector smaller Signed-off-by: Claudio Cambra --- src/gui/UserStatusSelector.qml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/gui/UserStatusSelector.qml b/src/gui/UserStatusSelector.qml index 8967bc2f9..736dbe5a8 100644 --- a/src/gui/UserStatusSelector.qml +++ b/src/gui/UserStatusSelector.qml @@ -268,23 +268,19 @@ ColumnLayout { Layout.alignment: Qt.AlignBottom Button { - // Prevent being squashed by the other buttons with larger text - Layout.minimumWidth: implicitWidth - Layout.fillHeight: true text: qsTr("Cancel") onClicked: finished() } - Button { + Item { // Spacing Layout.fillWidth: true - Layout.fillHeight: true - text: qsTr("Clear status message") + } + Button { + text: qsTr("Clear") onClicked: userStatusSelectorModel.clearUserStatus() } Button { - Layout.fillWidth: true - Layout.fillHeight: true focusPolicy: Qt.StrongFocus - text: qsTr("Set status message") + text: qsTr("Apply") onClicked: userStatusSelectorModel.setUserStatus() } } -- 2.30.2